package org.devocean.groupbuying.dao;

import java.util.List;

import org.devocean.groupbuying.domain.Customer;

public interface CustomerDAO {

	public List<Customer> findAllCustomers();

	public long countCustomers();

	public long countCustomerByUserName(String userName);

	public List<Customer> findCustomersEntries(int firstResult, int maxResults);

	public Customer findCustomerById(int id);

	public void deleteCustomer(int id);

	public Customer saveCustomer(Customer customer);

	public Customer updateCustomer(Customer customer);

	public Customer findCustomer(String username);

	public Customer findCustomerByUuid(String customerUuid);

	public Long countCustomerByEmail(String email);

	public Customer findCustomerByEmail(String email);
}
